package com.arcsoft.myapplication;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class MainActivity extends AppCompatActivity  implements  Iview {
WebView webView;
 //   private MyHandler mHandler = new MyHandler(ViewActivity.this);
    private Ipresenter mPresenter;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

mPresenter=new presenter(MainActivity.this);
 mPresenter.loadData();
    }

    @Override
    public void showLoadingProgress(String message) {
        Log.e("message",message);
    }

    @Override
    public void showData(String text) {
        Log.e("text",text);
    }
}
